FOG AVAILABLE
This command will return an integer value of 1 if the current 3D card supports fogging.
Return Integer=FOG AVAILABLE()
This command will return a value of 1, if the current 3D card supports fogging
Fogging is used to create the effect of 3D fog used by the commands FOG ON, FOG DISTANCE and FOG COLOR.
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
if fog available()=0:print "not available":else:print "available":endif
if fogrange available()=0:print "not available":else:print "available":endif
if fogtable available()=0:print "not available":else:print "available":endif
while mouseclick()=0
sync
endwhile
if object exist(ObjectNumber)=1 then delete object ObjectNumber
end
BASIC3D Commands Menu
Index